package com.notemanagement.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by 金 on 2015/1/17.
 */
public class OrderDetailInfo implements Serializable{
    public OrderDetailInfo(){
        name = "";
        address = "";
        phone = "";
        date = "";
        id = 0;
        materialNum = new ArrayList<Integer>();
        materials = new ArrayList<String>();
    }

    public long id;
    public String name;
    public String phone;
    public String address;
    public String date;
    public List<String> materials;
    public List<Integer> materialNum;

    @Override
    public boolean equals(Object o) {
        return (id == ((OrderDetailInfo)o).id);
    }
}
